// 服务端入口
import { from } from 'core-js/fn/array';
import Vue from 'vue';
import App from "./App.vue"
import createRouter from "./router"


export default function createApp(){
    const router = createRouter();
    const app = new Vue({
      router,
      render: h =>h(App)
    })
    return {app,router}
}